package com.noyes4j.auth.service;

import com.noyes4j.common.core.domain.R;
import com.noyes4j.system.api.feign.RemoteDeviceService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component
public class SysDeviceService
{

    @Autowired
    private RemoteDeviceService deviceService;

    public R getAirKissConfigData(String wifiSsid, String wifiPwd, String jsCode){
        return deviceService.getAirKissConfigData( wifiSsid,  wifiPwd,  jsCode);
    }

    public void getAirKissQrCode(String path){
        deviceService.getAirKissQrCode(path);
    }

    public R bindDeviceWithWechat(String sn,String openid){
        return deviceService.bindDeviceWithWechat(sn,openid);
    }

    public R getTest(String msg){
        return deviceService.getTest(msg);
    }

    public R postTest(String msg){
        return deviceService.postTest(msg);
    }
}